﻿#include <iostream>
#include <thread>
using namespace std;
void worker() {
	cout << "
		⼦线程开启
		" <<endl;
		cout << "
		⼦线程结束
		" <<endl;
}
int main()
{
	cout << "
		主线程开启
		"  << endl;
		thread t(worker);
	t.join();
	cout << "
		主线程结束
		"  << endl;
}